package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Hotel;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import javax.management.Query;
import java.util.List;

public interface IHotelService {
    void saveOrUpdate(Hotel hotel);
    void delete(Long id);
    Hotel selectByPrimaryKey(Long id);
    List<Hotel> selectAll();
    PageInfo<Hotel> query(QueryObject qo);

    List<Hotel> listCommend();
    List<Hotel> listHotel(QueryObject qo);
}
